package com.gilight.base.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gilight.base.dto.ColdPayOrderDto;
import com.gilight.base.model.ColdOrder;
import com.gilight.base.model.ColdOrderDetail;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ColdOrderMapper extends BaseMapper<ColdOrder> {
    int deleteByPrimaryKey(Long id);

    int insert(ColdOrder record);

    int insertSelective(ColdOrder record);

    ColdOrder selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ColdOrder record);

    int updateByPrimaryKey(ColdOrder record);

    List<ColdPayOrderDto> getOrderList(ColdOrder coldOrder);


}